﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.ProductionManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.ProductionManagement.ProductionInboundVMs
{
    public partial class ProductionInboundBatchVM : BaseBatchVM<ProductionInbound, ProductionInbound_BatchEdit>
    {
        public ProductionInboundBatchVM()
        {
            ListVM = new ProductionInboundListVM();
            LinkedVM = new ProductionInbound_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class ProductionInbound_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._ProductionInbound._LineId")]
        public long? LineId { get; set; }
        [Display(Name = "_Model._ProductionInbound._LineCode")]
        public string LineCode { get; set; }
        [Display(Name = "_Model._ProductionInbound._OpId")]
        public long? OpId { get; set; }
        [Display(Name = "_Model._ProductionInbound._OpCode")]
        public string OpCode { get; set; }
        [Display(Name = "_Model._ProductionInbound._ProductId")]
        public long? ProductId { get; set; }
        [Display(Name = "_Model._ProductionInbound._ProductCode")]
        public string ProductCode { get; set; }
        [Display(Name = "_Model._ProductionInbound._Sn")]
        public string Sn { get; set; }
        [Display(Name = "_Model._ProductionInbound._Wo")]
        public string Wo { get; set; }
        [Display(Name = "_Model._ProductionInbound._Rfid")]
        public string Rfid { get; set; }
        [Display(Name = "_Model._ProductionInbound._InboundTime")]
        public DateTime? InboundTime { get; set; }
        [Display(Name = "_Model._ProductionInbound._InboundStatus")]
        public int? InboundStatus { get; set; }
        [Display(Name = "_Model._ProductionInbound._Ver")]
        public long? Ver { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}